﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="HCRJH.aspx.cs" Inherits="Web_HCRJH" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <link href="../StyleSheet.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="../Tools/My97DatePicker/WdatePicker.js"></script>
    <style type="text/css">
        .style1
        {
            text-align: left;
            height: 25px;
            width: 22%;
        }
        .style2
        {
            text-align: left;
            height: 25px;
            width: 19%;
        }
        .style3
        {
            text-align: right;
            height: 25px;
            color: #336600;
            width: 10%;
        }
    </style>
    <script type="text/javascript">
    
      function pageLoad() {
      }
    
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" EnablePartialRendering ="true">
        </asp:ToolkitScriptManager>
    </div>
    <div style="text-align: center;" >
        <div style="width: 600px; font-size: 14px; text-align: left;">
            <asp:Label ID="Label1" runat="server" Text="火车日计划 :" 
                ></asp:Label>
        </div>
        <div style="height: 10px;">
        </div>
        <div class="divStyle">
            <table cellpadding="0" cellspacing="0" width="100%" class="tab2">
                <tr>
                    <td class="tdLeft" style="width: 25%;">
                        <asp:Label ID="Label3" runat="server" Text="日期" 
                            ></asp:Label>:&nbsp;&nbsp;
                    </td>
                    <td class="style1">
                        <asp:TextBox ID="txtJday" runat="server" class="Wdate" 
                            onfocus="WdatePicker({isShowClear:false,readOnly:false})" Width="107px" 
                            ></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtJday"
                            ErrorMessage="*" >*</asp:RequiredFieldValidator>
                    </td>
                    <td class="tdLeft" style="width: 20%;">
                        <asp:Label ID="Label2" runat="server" Text="库区" 
                            ></asp:Label>:&nbsp;&nbsp;
                    </td>
                    <td class="style1">
                        <asp:DropDownList ID="ddlKu" Width="105px" runat="server" AutoPostBack="True" onselectedindexchanged="ddlKu_SelectedIndexChanged"
                            >
                            <asp:ListItem>请选择库区</asp:ListItem>
                            <asp:ListItem>嘉东库</asp:ListItem>
                            <asp:ListItem>板材库</asp:ListItem>
                            <asp:ListItem>不锈钢热轧库</asp:ListItem>
                            <asp:ListItem>不锈钢冷轧库</asp:ListItem>
                            <asp:ListItem>碳钢热轧库</asp:ListItem>
                            <asp:ListItem>碳钢冷轧库</asp:ListItem>
                            <asp:ListItem>一高线</asp:ListItem>
                            <asp:ListItem>二高线</asp:ListItem>
                            <asp:ListItem>大棒线</asp:ListItem>
                            <asp:ListItem>四轧库</asp:ListItem>
                            <asp:ListItem>酸洗库</asp:ListItem>
                            <asp:ListItem>化产库</asp:ListItem>
                        </asp:DropDownList>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="ddlKu"
                            ErrorMessage="*">*</asp:RequiredFieldValidator>
                    </td> 
                    
                </tr>
            </table>
        </div>
        <div style="height: 10px;">
        </div >
        <div style="text-align: center;">
            <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="ddlKu" EventName="SelectedIndexChanged">
            </asp:AsyncPostBackTrigger>
        </Triggers>
        <ContentTemplate>
           <div class="divStyle">
            <table cellpadding="0" cellspacing="0" width="100%" class="tab2">
                <tr>
                    <td class="style2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:DropDownList ID="ddlPZ" Width="105px" runat="server" Visible="false" 
                            AutoPostBack="True" onselectedindexchanged="ddlPZ_SelectedIndexChanged">
                            <asp:ListItem>请选择品种</asp:ListItem>
                            <asp:ListItem>线材</asp:ListItem>
                            <asp:ListItem>螺纹</asp:ListItem>
                            <asp:ListItem>卷板</asp:ListItem>
                            <asp:ListItem>板材</asp:ListItem>
                        </asp:DropDownList>
                        
                    </td> 
                </tr>
            </table>
        </div>
        </ContentTemplate>
    </asp:UpdatePanel>
        </div>
        
        <div style="height: 10px;">
        </div >
        <div style="text-align: center;">
            <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="ddlKu" EventName="SelectedIndexChanged">
            </asp:AsyncPostBackTrigger>
        </Triggers>
        <ContentTemplate>
           <div class="divStyle">
            <table cellpadding="0" cellspacing="0" width="100%" class="tab2">
                
                <tr>
                    <td class="tdLeft" style="width: 30%;">
                        <asp:Label ID="Label8" runat="server" Text="周计划起始日期" 
                            ></asp:Label>:&nbsp;&nbsp;
                    </td>
                    <td class="style1">
                        <asp:TextBox ID="txtSday" runat="server" Width="107px"></asp:TextBox>
                        
                    </td> 
                    <td class="tdLeft" style="width: 25%;">
                        <asp:Label ID="Label9" runat="server" Text="周计划结束日期" 
                            ></asp:Label>:&nbsp;&nbsp;
                    </td>
                    <td class="style1">
                        <asp:TextBox ID="txtEday" runat="server" Width="115px"></asp:TextBox>
                        
                    </td>
                    
                </tr>
                <tr>
                    <td class="tdLeft" style="width: 30%;">
                        <asp:Label ID="Label4" runat="server" Text="计划周期" 
                            ></asp:Label>:&nbsp;&nbsp;
                    </td>
                    <td class="style1">
                        <asp:TextBox ID="txtZQ" runat="server" Width="107px"></asp:TextBox>
                        
                    </td> 
                    <td class="tdLeft" style="width: 25%;">
                        <asp:Label ID="Label5" runat="server" Text="已下计划天数" 
                            ></asp:Label>:&nbsp;&nbsp;
                    </td>
                    <td class="style1">
                        <asp:TextBox ID="txtYJH" runat="server" Width="115px"></asp:TextBox>
                        
                    </td>
                </tr>
                <tr>
                    <td class="tdLeft" style="width: 25%;">
                        <asp:Label ID="Label6" runat="server" Text="已下计划日期" 
                            ></asp:Label>:&nbsp;&nbsp;
                    </td>
                    <td class="tdRight" style="width: 80%;" colspan="3">
                        <asp:TextBox ID="txtRQ" runat="server" Width="446px" MaxLength="255" 
                            TextMode="MultiLine" Height="34px" style="margin-left: 0px"></asp:TextBox>
                        
                    </td>
                </tr>
                <tr>
                    <td class="tdLeft" style="width: 30%;">
                        <asp:Label ID="Label7" runat="server" Text="未分配量" 
                            ></asp:Label>:&nbsp;&nbsp;
                    </td>
                    <td class="style1">
                        <asp:TextBox ID="txtWF" runat="server" Width="107px"></asp:TextBox>
                        
                    </td> 
                    <td class="tdLeft" style="width: 25%;">
                        <asp:Label ID="Label10" runat="server" Text="建议车数" 
                            ></asp:Label>:&nbsp;&nbsp;
                    </td>
                    <td class="style1">
                        <asp:TextBox ID="txtJY" runat="server" Width="115px"></asp:TextBox>
                        
                    </td>
                </tr>
            </table>
        </div>
        </ContentTemplate>
    </asp:UpdatePanel>
        </div>
        <div style="height: 10px;">
        </div >
        <div style="text-align: center;">
            <asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode="Conditional" Visible="false">
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="ddlPZ" EventName="SelectedIndexChanged">
            </asp:AsyncPostBackTrigger>
        </Triggers>
        <ContentTemplate>
           <div class="divStyle">
            <table cellpadding="0" cellspacing="0" width="100%" class="tab2">
                
                <tr>
                    <td class="tdLeft" style="width: 30%;">
                        <asp:Label ID="Label12" runat="server" Text="周计划起始日期" 
                            ></asp:Label>:&nbsp;&nbsp;
                    </td>
                    <td class="style1">
                        <asp:TextBox ID="txtSday2" runat="server" Width="107px"></asp:TextBox>
                        
                    </td> 
                    <td class="tdLeft" style="width: 25%;">
                        <asp:Label ID="Label14" runat="server" Text="周计划结束日期" 
                            ></asp:Label>:&nbsp;&nbsp;
                    </td>
                    <td class="style1">
                        <asp:TextBox ID="txtEday2" runat="server" Width="115px"></asp:TextBox>
                        
                    </td>
                    
                </tr>
                <tr>
                    <td class="tdLeft" style="width: 30%;">
                        <asp:Label ID="Label15" runat="server" Text="计划周期" 
                            ></asp:Label>:&nbsp;&nbsp;
                    </td>
                    <td class="style1">
                        <asp:TextBox ID="txtZQ2" runat="server" Width="107px"></asp:TextBox>
                        
                    </td> 
                    <td class="tdLeft" style="width: 25%;">
                        <asp:Label ID="Label16" runat="server" Text="已下计划天数" 
                            ></asp:Label>:&nbsp;&nbsp;
                    </td>
                    <td class="style1">
                        <asp:TextBox ID="txtYJH2" runat="server" Width="115px"></asp:TextBox>
                        
                    </td>
                </tr>
                <tr>
                    <td class="tdLeft" style="width: 25%;">
                        <asp:Label ID="Label17" runat="server" Text="已下计划日期" 
                            ></asp:Label>:&nbsp;&nbsp;
                    </td>
                    <td class="tdRight" style="width: 80%;" colspan="3">
                        <asp:TextBox ID="txtRQ2" runat="server" Width="446px" MaxLength="255" 
                            TextMode="MultiLine" Height="34px" style="margin-left: 0px"></asp:TextBox>
                        
                    </td>
                </tr>
                <tr>
                    <td class="tdLeft" style="width: 30%;">
                        <asp:Label ID="Label18" runat="server" Text="未分配量" 
                            ></asp:Label>:&nbsp;&nbsp;
                    </td>
                    <td class="style1">
                        <asp:TextBox ID="txtWF2" runat="server" Width="107px"></asp:TextBox>
                        
                    </td> 
                    <td class="tdLeft" style="width: 25%;">
                        <asp:Label ID="Label19" runat="server" Text="建议车数" 
                            ></asp:Label>:&nbsp;&nbsp;
                    </td>
                    <td class="style1">
                        <asp:TextBox ID="txtJY2" runat="server" Width="115px"></asp:TextBox>
                        
                    </td>
                </tr>
            </table>
        </div>
        </ContentTemplate>
    </asp:UpdatePanel>
        </div>
        <div style="height: 10px;">
        </div >
        <div class="divStyle">
            <table cellpadding="0" cellspacing="0" width="100%" class="tab2">
                <tr>
                    <td class="tdLeft" style="width: 7%;">
                        <asp:Label ID="Label11" runat="server" Text="计划车数" 
                            ></asp:Label>:&nbsp;&nbsp;
                    </td>
                    <td class="style1">
                        <asp:TextBox ID="txtCS" runat="server" Width="66px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtCS"
                            ErrorMessage="*">*</asp:RequiredFieldValidator>
                    </td> 
                    
                </tr>
            </table>
        </div>
        <div style="height: 10px;">
        </div>
        <div class="divStyle" style="text-align: right;">
            <asp:Button ID="btnOK" runat="server" Text="提交" Width="80px" onclick="btnOK_Click"
                />
            &nbsp;&nbsp;&nbsp;&nbsp;
            
            <asp:Button ID="btnRepeat" runat="server" Text="重置" Width="80px" 
                CausesValidation="False" onclick="btnRepeat_Click"/>
            &nbsp;&nbsp;&nbsp;&nbsp;
        </div>
    </div>
    <div style="text-align: center; padding-top: 20px;">
        <br />
        <a href="#" onclick="javascript:window.history.go(-1);">
            <asp:Label ID="Label13" runat="server" Text="返回"></asp:Label></a>&nbsp;|&nbsp;
        <span class="tab1"><%=ConfigurationSettings.AppSettings["Copyright"] %></span>
    </div>
    </form>
</body>
</html>
